package com.duobaoyu.dby.supply.biz.annotation;

import com.duobaoyu.dby.supply.db.constant.SupplyMapperConstant;

import java.lang.annotation.*;

/**
 * @author yw
 * @description
 * @date 2023/9/28 10:05
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface TableQueryHead {

	/**
	 * 表名
	 */
	String tableName() default SupplyMapperConstant.CHANNEL_MESSAGE_TABLE_NAME;

	/**
	 * 请求头属性 key
	 */
	String key() default "table_suffix";

	/**
	 * 请求头属性 value
	 */
	String value() default SupplyMapperConstant.CHANNEL_MESSAGE_PRODUCT_SUFFIX;
}
